package com.ruoyi.training.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 镜像管理对象 training_images
 * 
 * @author rocc
 * @date 2025-06-12
 */
public class TrainingImages extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 环境名称 */
    @Excel(name = "环境名称")
    private String enviromentName;

    /** 镜像名称 */
    @Excel(name = "镜像名称")
    private String imageName;

    /** 镜像大小 */
    @Excel(name = "镜像大小")
    private String imageSize;

    /** 镜像状态 */
    @Excel(name = "镜像状态")
    private Long imageStatus;

    /** 镜像tag */
    @Excel(name = "镜像tag")
    private String tag;

    /** 操作系统 */
    @Excel(name = "操作系统")
    private Long operationSystem;

    /** 镜像地址 */
    private String imageUrl;

    /** 镜像端口路径信息 */
    private List<TrainingImagePortPath> trainingImagePortPathList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setEnviromentName(String enviromentName) 
    {
        this.enviromentName = enviromentName;
    }

    public String getEnviromentName() 
    {
        return enviromentName;
    }

    public void setImageName(String imageName) 
    {
        this.imageName = imageName;
    }

    public String getImageName() 
    {
        return imageName;
    }

    public void setImageSize(String imageSize) 
    {
        this.imageSize = imageSize;
    }

    public String getImageSize() 
    {
        return imageSize;
    }

    public void setImageStatus(Long imageStatus) 
    {
        this.imageStatus = imageStatus;
    }

    public Long getImageStatus() 
    {
        return imageStatus;
    }

    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }

    public void setOperationSystem(Long operationSystem) 
    {
        this.operationSystem = operationSystem;
    }

    public Long getOperationSystem() 
    {
        return operationSystem;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public List<TrainingImagePortPath> getTrainingImagePortPathList()
    {
        return trainingImagePortPathList;
    }

    public void setTrainingImagePortPathList(List<TrainingImagePortPath> trainingImagePortPathList)
    {
        this.trainingImagePortPathList = trainingImagePortPathList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("enviromentName", getEnviromentName())
            .append("imageName", getImageName())
            .append("imageSize", getImageSize())
            .append("imageStatus", getImageStatus())
            .append("tag", getTag())
            .append("operationSystem", getOperationSystem())
            .append("imageUrl", getImageUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("trainingImagePortPathList", getTrainingImagePortPathList())
            .toString();
    }
}
